<?php

namespace plugin\admin\app\model;

use plugin\admin\app\model\Base;

/**
 * @property integer $id (主键)
 * @property integer $type 1-邀请加入公会
 * @property mixed $uuid 玩家id
 * @property integer $role_id 公会id
 * @property string $title 标题
 * @property string $content 内容
 * @property integer $created_at 创建时间
 * @property integer $updated_at 最后修改时间
 * @property string $attach 额外数据
 * @property integer $is_read 是否读过
 * @property integer $is_del 是否删除
 * @property integer $is_receive 附近是否领取
 * @property string $ext 额外数据
 */
class Mail extends Base
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'mail';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $primaryKey = 'id';

    protected $guarded = [];

    public $timestamps = true;

    protected $dateFormat = 'U';


}
